<template>
  <div>
    <h1>用户页面</h1>
    <div>User: {{ route.params.uname }}</div>
  </div>
</template>

<script setup lang="ts">
import { useRoute } from "vue-router";

const route = useRoute();
</script>

<style scoped></style>
